<template>
  <div :style="{ width, height }">
    <el-image style="width: 100%; height: 100%" :src="src" lazy></el-image>
  </div>
</template>

<script>
export default {
  props: {
    src: {
      type: String,
    },
    width: {
      type: String,
      default: '100px',
    },
    height: {
      type: String,
      default: '100px',
    },
  },
}
</script>

<style></style>
